html,
body {
  width: 100%;
  height: 100%;
  display: flex;
}

.bar {
  position: relative;
  width: 400px;
  height: 30px;
  margin: auto;
  border-radius: 20px;
  background: #ffba01;
  overflow: hidden;

  &::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 400px;
    height: 85px;
    background: repeating-linear-gradient(45deg, #f06a0e, #f06a0e 10px, transparent 11px, transparent 19px, #f06a0e 20px) no-repeat 0 0;
    animation: move 1s linear infinite;
  }
}

@keyframes move {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -56px;
  }
}



